package com.liwu.publish.platform.common.response;

/**
 * @Auther: liwu
 * @Date: 2019/10/23 19:40
 * @Description:
 */
public enum ResStatus {

    SUCCESS(10000, "Success"),
    UNEXPECTED_EXP(400, "System Internal Error"),
    PAGE_NOT_FOUND(404,"Page not found"),
    HTTP_METHOD_NOT_SUPPORTED(405,"Http method not support"),
    ;

    private int code;
    private String msg;
    ResStatus(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }


}
